﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;

namespace ShootLife2D.Screens
{
    public class Screen:IDisposable
    {
        public bool Initialized=false;
        public virtual void Draw(GameTime gameTime)
        {
            
        }
        public virtual void Update(GameTime gameTime)
        {
            
        }
        public virtual void LoadContent(ContentManager content)
        {
            Initialized = true;
        }

        public virtual void Dispose()
        {
            Initialized = false;
            GC.WaitForPendingFinalizers();
            GC.Collect();
        }
    }
}
